package com.example.futureai.service;

import com.example.futureai.dto.ChatDto;
import com.example.futureai.dto.DocVtsDto;
import com.example.futureai.dto.SendMsgDto;
import org.springframework.http.codec.ServerSentEvent;
import reactor.core.publisher.Flux;

import java.util.List;

/**
 * @InterfaceName: ChatService
 * @Description:
 * @Author: 何荣
 * @Date: 2025/2/26
 */
public interface ChatService {
/*
    *//**
    * @Author: ronghe
    * @Description: 流式模型对话接口
    * @DateTime: 2025/2/26 16:42
    * @Params: accessKey, inputInfo, docIds
    * @Return
    *//*
    Flux<ServerSentEvent<ChatDto>> memoryStreamWithApi(SendMsgDto sendMsgDto);

    *//**
    * @Author: ronghe
    * @Description: 匹配到的文档
    * @DateTime: 2025/2/26 16:43
    * @Params: sendMsgDto
    * @Return
    *//*
    List<DocVtsDto>  getMatchtoFiles(SendMsgDto sendMsgDto);


    *//**
    * @Author: ronghe
    * @Description: 根据向量库回答
    * @DateTime: 2025/2/26 16:44
    * @Params:  sendMsgDto
    * @Return
    *//*

    Flux<ServerSentEvent<ChatDto>> serverSentEventFluxByDoc(SendMsgDto sendMsgDto);



    *//**
     * @Author: ronghe
     * @Description: 模型直接回答
     * @DateTime: 2025/2/26 16:44
     * @Params:  sendMsgDto
     * @Return
     *//*
    Flux<ServerSentEvent<ChatDto>> serverSentEventFlux(SendMsgDto sendMsgDto);*/
}
